/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 26727
 * Date: 2024-06-01
 * Time: 23:43
 */
public class Person {
    private String name;
    private String gender;
    int age;

    // 想要让该类支持深拷贝，覆写Object类的clone方法即可
    @Override
    public Person clone() throws CloneNotSupportedException {
        return (Person)super.clone();
    }
}
